<template>
  <div id="app">
    <el-container>
      <el-header><Header></Header></el-header>
      <el-main><router-view/></el-main>
      <el-footer style="height: auto;"><Footer></Footer></el-footer>
    </el-container>
    <GoTop></GoTop>
    <!-- <el-backtop target=".page-component__scroll .el-scrollbar__wrap"></el-backtop> -->
  </div>
</template>

<script>
  // import axios from "axios"
  import Header from './components/public/Header'
  import Footer from './components/public/Footer'
  import GoTop from './components/GoTop'
export default {
  name: 'App',
  components: {
    Header,
    Footer,
    GoTop
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* text-align: center; */
  color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(255, 255, 255, 0.9),rgba(255, 255, 255, 0.9)) ,url('./assets/img/blogbg.png') no-repeat;
  background-size: 100% 100%;
  height: 100%;
}
.el-container{
  display: flex;
  -webkit-box-flex: 1;
  flex: 1;
  min-width: 0;
}
header{
  display: block;
  height: 60px !important;
}
.el-header{
  /* display: block; */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  padding: 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid rgb(218, 218, 218);
  box-sizing: border-box;
  flex-shrink: 0;
}
.el-main{
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5%;
  margin-bottom: 8%;
  z-index: 2;
}
.el-footer{
  /* position: fixed; */
  bottom: 0;
  padding: 0;
  width: 100%;
  z-index: 2;
  padding: 40px 0;
  background-color: rgb(65, 65, 65);
  /* border-top: 1px solid #ccc; */
}
</style>
